//
//  ScanViewController.m
//  ScanTest
//
//  Created by 李江湖 on 2018/1/13.
//  Copyright © 2018年 李江湖. All rights reserved.
//

#import "ScanViewController.h"

@interface ScanViewController ()

@end

@implementation ScanViewController

- (void)scanCaptureWithValueString:(NSString *)valueString {
    [super scanCaptureWithValueString:valueString];
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [self startScanning];
    });
}
-(void)scanPhtoWithValueString:(NSString *)valueString
{
    [super scanCaptureWithValueString:valueString];
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [self startScanning];
    });
}
- (BMScanLin)scanLin {
    return self.scanLinType;
}

- (UIColor *)scanfLin {
    return self.linColor;
}

- (UIColor *)feetColor {
    return self.footColor;
}
/**
 动画时间
 */
- (CFTimeInterval)animationDuration{
    return 5.0;
}
@end
